package cosc617_blackteam;

/**
 * @author Laura
 * Enumeration associated with cooking strategies
 */
public enum PrepStrategy {
	FIFO, BY_TIME, BY_PARTY_SIZE;

	public I_CookingStrategy getStrategy(OrderCollections orders){
		switch(this){
		case BY_TIME: return new PrepByPrepTime(orders);
		case FIFO: return new PrepByFIFO(orders);
		case BY_PARTY_SIZE: return new PrepByPartySize(orders);
		default: return null;
		}
	}
}
